package com.RedRiver.hospitalsystem.record_service.service;

import com.RedRiver.hospitalsystem.record_service.form.AddResultForm;
import com.RedRiver.hospitalsystem.record_service.form.CreateRecordForm;
import com.RedRiver.hospitalsystem.record_service.info.SearchRecordByIdInfo;
import com.RedRiver.hospitalsystem.record_service.infra.model.Records;
import com.RedRiver.hospitalsystem.result.Result;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 龙世超
 * @since 2022-04-26
 */
public interface RecordsService extends IService<Records> {

    Result<?> addRecord(CreateRecordForm recordForm);

    List<SearchRecordByIdInfo> findRecord(Integer id);

    Result<?> addRecordResult(AddResultForm resultForm);
}
